package mr.zhang.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/** 项目组后台控制器
 * Created by jerry on 15/1/28.
 * E-mail:huaxinxc@me.com
 */
@Controller
@RequestMapping (value = "/poject/*")
public class PojectGroupSystemController {

    private Logger logger = LoggerFactory.getLogger(PojectGroupSystemController.class);

    /**
     * 项目组后台登陆验证
     * @param username
     * @param password
     * @param usercode
     * @return
     */
    @RequestMapping(value = "/login" )
    public String poject_LoginCheck( String username,String password ,
                                     String  usercode , HttpServletRequest request){



        // service do it .
        request.setAttribute("user","zhang");


        return "pojectManager/manager";
    }



}
